package per.ethan.cloud.consumer.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;
import per.ethan.cloud.common.entity.BaseEntity;

import java.math.BigDecimal;

/**
* @author Ethan
* @date 2020/04/13 01:41
*/
@Data
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "账户余额", parent = BaseEntity.class)
public class Balance extends BaseEntity {

    /**
     * 
     * 字段类型: varchar
     * 长度: 30
     */
    @ApiModelProperty(value = " 字段类型: varchar 长度: 30")
    private String username;

    /**
     * 
     * 字段类型: decimal
     * 长度: 10,0
     */
    @ApiModelProperty(value = " 字段类型: decimal 长度: 10,0")
    private BigDecimal money;

}